Arrow keys / Click to navigate

Cloud Operations on AWS

Module 5: Automate Resource Deployment

Cloud Operations on AWS

Module Overview

Deployment Challenges CloudFormation Solves

CloudFormation Template Components

CloudFormation Helper Concepts

ConceptPurpose
RefReference other stack components
DependsOnOrder resource creation
Pseudo parametersAWS::AccountId, AWS::Region, AWS::StackId
cfn-init / cfn-signalBootstrap EC2 instances, signal success/failure
WaitCondition / CreationPolicyBlock stack progress until signaled

Best Practices: CloudFormation

AWS Service Catalog — Administrator Workflow

1

Design a template with parameters

2

Create products

3

Create a portfolio

4

Assign products, add constraints, grant access

5

Add tags to the portfolio and products

AWS Service Catalog — User Workflow

Troubleshooting Scenario

Issue: CloudFormation stack resources couldn't be created.

Cause: A required parameter for the resource type is missing.

Solution: Verify the user has permissions for the resource, and compare against a known-working template.

Lab 2: Infrastructure as Code

Module Summary

Next: Module 6 — Manage Resources

Module 5 Mind Map

Click branch to expand